package com.itheima.io.properties.demo03;

import java.io.FileWriter;
import java.io.IOException;
import java.util.Properties;

public class PropertiesDemo01 {

    public static void main(String[] args) throws IOException {

        Properties properties = new Properties();

        properties.put("张三", "23");
        properties.put("李四", "24");
        properties.put("王五", "25");
        properties.put("赵六", "26");

        properties.store(new FileWriter("itheima-io-properties\\userInfo.properties"), "");

    }

}
